<!-- 参考官方文档 -->
<template>
    <view class="">
        <button @click="onClick">拨打电话</button>
    </view>
</template>

<script lang="ts" setup>
    function onClick() {
        //拨打电话
        uni.makePhoneCall({
            //需要拨打的电话号码
            phoneNumber: "114"
        });
    };
</script>

<style lang="scss" scoped>

</style>